package com.modifiertech.lineage.api;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @description: default
 * @author: saliencemn
 * @mail: hackingmu@outlook.com
 * @date: 2024/8/29 23:08
 */
public class PlayerDataManaTag {
    //当前魔法值
    private double currentMana = 20d;
    //最大魔法值
    private double maxMana=20d;
    //魔法恢复量,每tick
    private double recoveryOfMana = 0.01d;
    //魔法修饰器map, key: 修饰器类型名称：约束为TYPE:DETAIL,value: 修饰值
    //SKILL:BlackMagic/5.0D
    private Map<String,Double> manaModifierMap = new ConcurrentHashMap<>();

    public double getCurrentMana() {
        return currentMana;
    }

    public void setCurrentMana(double currentMana) {
        this.currentMana = currentMana;
    }

    public double getMaxMana() {
        return maxMana;
    }

    public void setMaxMana(double maxMana) {
        this.maxMana = maxMana;
    }

    public double getRecoveryOfMana() {
        return recoveryOfMana;
    }

    public void setRecoveryOfMana(double recoveryOfMana) {
        this.recoveryOfMana = recoveryOfMana;
    }

    public Map<String, Double> getManaModifierMap() {
        return manaModifierMap;
    }

    public void setManaModifierMap(Map<String, Double> manaModifierMap) {
        this.manaModifierMap = manaModifierMap;
    }
}
